            <a href="<?php echo url_for('navires') ?>?page=1"><<</a>
            <a href="<?php echo url_for('navires') ?>?page=<?php echo $pager->getPreviousPage() ?>"><</a>
<?php foreach ($pager->getLinks() as $page): ?>
    <?php if ($page == $pager->getPage()): ?>
            <?php echo $page ?>
    <?php else: ?>
            <a href="<?php echo url_for('navires') ?>?page=<?php echo $page ?>"><?php echo $page ?></a>
    <?php endif; ?>
<?php endforeach; ?>
            <a href="<?php echo url_for('navires') ?>?page=<?php echo $pager->getNextPage() ?>">></a>
            <a href="<?php echo url_for('navires') ?>?page=<?php echo $pager->getLastPage() ?>">>></a>